aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-07-23 21:17:13 +0100
committerMichael Williamson <mike@zwobble.org>2023-07-23 21:17:13 +0100
commitd5707930a4e75c2fa47aa3b75fea13575e269009 (patch)
treea21ca6939784f0d299d71323e3f238e09ab5145e /snapshots/[engine:junit-jupiter]
parent576aa4821a810353e4a8eb3dbc92a4cbe1be723e (diff)
Add Patio code gen for int-eq
Diffstat (limited to 'snapshots/[engine:junit-jupiter]')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected17
1 files changed, 17 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..cd822316
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntEqualsTests]/[method:canGenerateCodeForIntEquals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,17 @@
+Compilation unit elements:
+
+
+Locals:
+ * ("tmp__0" int)
+
+Args:
+
+Instructions:
+
+(
+ (int-eq (local "tmp__0") (local "b") (local "c"))
+)
+
+Temporary stack:
+ * tmp__0
+ * a